﻿using System;
using System.Data;
using System.Configuration;
//using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Pub;
using System.Security.Cryptography;
using System.Text;
using System.IO;

namespace JCNT.DAL
{
    public class CUser
    {
        CADO ado1 = new CADO();

        public Boolean chkLogin(string sUser, string sPass)
        {
            string strSQL = "select * from wp_use where [use]='" + sUser + "' and Pass='" + sPass + "'";
            ado1.sel1(strSQL);
            if (ado1.ds_count == 1) return true;
            else return false;

        }
    }
}
